str = "万过薪月,员序程马黑来,nohtyp学"

result = str[9:4:-1]
print(result)

result1 = str.split(",")[1].replace("来", "")[::-1]

print(result1)
